package com.example.admin.testdemo.dao;

import java.util.Random;

public class DataHandler {
    private static Random ra =new Random();

    public static int getRandom(int size){
        return ra.nextInt(size);
    }

    public static int goods(int w,int t){
        int temp=0;
        if(t<w){
           return 0;
        }
        float ttt=t/(float)w;
        if(ttt>0.95){
            
        }
        return temp;
    }
}
